package cc.mrbird.febs.wc.service;

import cc.mrbird.febs.wc.dao.WeiboMapper;
import cc.mrbird.febs.wc.domain.WeiboBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WeiboService {
    @Autowired
    private WeiboMapper weiboMapper;
    public List<WeiboBean> listWeiBo(String type) {
        return weiboMapper.listWeiBo(type);
    }

    public List<String> listType(){
        return weiboMapper.listType();
    }
}
